<?php
//Get Header
get_header();
?>
<!-- Code for main Index -->
<!-- Marketing messaging and featurettes
    ================================================== -->
    <div class="clearfix"></div>
    <!-- Wrap the rest of the page in another container to center all the content. -->
    <div class="main-container">
      <div class="container">
      <!-- Three columns of text below the carousel -->
        <div class="row">
          <div class="col-md-3">
            <div class="hotel-service">
              <?php 
                $hotel_servie = get_post(116);
                $service_title_en = qtrans_use('en', $hotel_servie->post_title,false);
                $service_title_vi = qtrans_use('vi', $hotel_servie->post_title,false);
                $service_content_en = qtrans_use('en', $hotel_servie->post_content,false); 
                $service_content_vi = qtrans_use('vi', $hotel_servie->post_content,false);
              ?>
              <h5>
                <?php 
                  if(qtrans_getLanguage()=='en') {
                    echo $service_title_en;
                  } elseif(qtrans_getLanguage()=='vi') {
                    echo $service_title_vi;
                  }
                  ?>
                </h5>
              <div class="hotel-service-content">
                <?php 
                  if(qtrans_getLanguage()=='en') {
                    echo $service_content_en;
                  } elseif(qtrans_getLanguage()=='vi') {
                    echo $service_content_vi;
                  }
                  ?>
              </div>
            </div>
          </div>
          <div class="col-md-9">
            <div class="about-hotel">
              <?php 
                $about_us = get_post(114);
                $about_title_en = qtrans_use('en', $about_us->post_title,false);
                $about_title_vi = qtrans_use('vi', $about_us->post_title,false);
                $about_content_en = qtrans_use('en', $about_us->post_content,false); 
                $about_content_vi = qtrans_use('vi', $about_us->post_content,false);
              ?>
              <h5>
                <?php 
                  if(qtrans_getLanguage()=='en') {
                    echo $about_title_en;
                  } elseif(qtrans_getLanguage()=='vi') {
                    echo $about_title_vi;
                  }
                  ?>
                </h5>
              <hr class="line1">
              <div class="about-us">
                <?php 
                  if(qtrans_getLanguage()=='en') {
                    echo $about_content_en;
                  } elseif(qtrans_getLanguage()=='vi') {
                    echo $about_content_vi;
                  }
                ?>
              </div>
            </div>
            <hr class="line1">
            <div class="special-offer">
              <?php 
                $special_offer = get_post(118);
                $title_en = qtrans_use('en', $special_offer->post_title,false);
                $title_vi = qtrans_use('vi', $special_offer->post_title,false);
                $content_en = qtrans_use('en', $special_offer->post_content,false); 
                $content_vi = qtrans_use('vi', $special_offer->post_content,false);
              ?>
              <h5>
                <?php 
                  if(qtrans_getLanguage()=='en') {
                    echo $title_en;
                  } elseif(qtrans_getLanguage()=='vi') {
                    echo $title_vi;
                  }
                  ?>
              </h5>
              <hr class="line1">
              <div class="row">
                <div class="col-md-7">
                  <img src="<?php bloginfo('template_url'); ?>/img/special-offer-image.png" class="img-thumbnail">
                </div>
                <div class="special-offer-content col-md-5">
                  <?php 
                  if(qtrans_getLanguage()=='en') {
                    echo $content_en;
                  } elseif(qtrans_getLanguage()=='vi') {
                    echo $content_vi;
                  }
                  ?>
                </div>
              </div>              
            </div>
            <hr class="line2">
          </div>
        </div>
      </div>
    </div>      
<!--End Code main Index -->
<?php
//Get Footer
get_footer();